//package com.sali.design_pattern.abstract_factory_pattern.lession_02.oracle;
//
//
//
//import com.sali.design_pattern.abstract_factory_pattern.lession_02.product.IDataSource;
//
//import javax.sql.DataSource;
//
///**
// * @description:
// * @author: zhang hang
// * @date: 2023/3/18 20:20.
// * @version: 1.0
// */
//public class OracleDruidDataSource implements IDataSource {
//    @Override
//    public DataSource dataSource() {
//        DruidDataSource dataSource = new DruidDataSource();
//        dataSource.setUrl("jdbc:mysql://localhost:3306/ds1");
//        dataSource.setUsername("root");
//        dataSource.setPassword("gg5858518");
//        dataSource.setDriverClassName("com.mysql.cj.jdbc.Driver");
//        return dataSource;
//    }
//}
